<?php
include ("vendor/autoload.php");
$obj = new stdClass();
$obj->name ='jane';
$obj->years = '11';
$big = new stdClass();
$big->sum = $obj;
echo json_encode($big);exit;
$email = '2324<BR>';
var_dump(filter_var($email,FILTER_SANITIZE_STRIPPED));
exit;
$data =utf8_strlen('中文');
// 计算中文字符串长度
function utf8_strlen($string = null) {
// 将字符串分解为单元
    preg_match_all("/./us", $string, $match);
// 返回单元个数
return count($match[0]);
}
echo $data;exit;
$service = new FBAInboundServiceMWS_Client(
    3,
    3,
    3,
    3,
    []);
var_dump($service);
$json =<<<JSON
{
  "result": 1,
  "msg": "请求成功",
  "data": {
    "list": [
      {
        "goods_id": 673,
        "goods_logo": "https://api.nongline.cn/upload/sp/cate/201804/25/image/1602259dc25db61090632f6c8025299d.jpg",
        "store_id": 20206,
        "goods_name": "富平柿饼",
        "goods_intro": "",
        "cate_id": 206,
        "status": 1,
        "stock_unit": 1,
        "stock_unit_name": "KG",
        "create_time": "KG",
        "brand_name": "",
        "grade_name": "",
        "origin_name": "全国各地除了新疆、西藏和宁夏没有种植",
        "stock_num": 64993,
        "store_name": "阿花水果",
        "store_logo": "https://api.nongline.cn/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
        "area_id": 350203,
        "area_name": "厦门",
        "spec_count": 3,
        "spec": [
          {
            "spec_id": 1042,
            "spec_name": "1KG/箱",
            "goods_id": 673,
            "spec_unit": 4,
            "spec_value": 1,
            "stock_unit": 1,
            "stock_unit_name": "KG",
            "spec_unit_name": "箱",
            "pack_type": 1,
            "pack_type_name": "礼盒",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "0.01",
            "stock_num": 10084,
            "spec_num": 10084,
            "sales_num": 0
          },
          {
            "spec_id": 1071,
            "spec_name": "1KG",
            "goods_id": 673,
            "spec_unit": 1,
            "spec_value": 1,
            "stock_unit": 1,
            "stock_unit_name": "KG",
            "spec_unit_name": "KG",
            "pack_type": 1,
            "pack_type_name": "礼盒",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "10.00",
            "stock_num": 20008,
            "spec_num": 20008,
            "sales_num": 0
          },
          {
            "spec_id": 1048,
            "spec_name": "1KG",
            "goods_id": 673,
            "spec_unit": 1,
            "spec_value": 1,
            "stock_unit": 1,
            "stock_unit_name": "KG",
            "spec_unit_name": "KG",
            "pack_type": 1,
            "pack_type_name": "礼盒",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "111.00",
            "stock_num": 11096.001,
            "spec_num": 11096.001,
            "sales_num": 0
          }
        ]
      },
      {
        "goods_id": 666,
        "goods_logo": "https://api.nongline.cn/upload/sp/cate/201804/25/image/635a8d967b45b814e7b6003273996807.jpg",
        "store_id": 20206,
        "goods_name": "绿宝石甜瓜",
        "goods_intro": "",
        "cate_id": 162,
        "status": 1,
        "stock_unit": 1,
        "stock_unit_name": "KG",
        "create_time": "KG",
        "brand_name": "",
        "grade_name": "",
        "origin_name": "山东、黑龙江、河南",
        "stock_num": 0,
        "store_name": "阿花水果",
        "store_logo": "https://api.nongline.cn/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
        "area_id": 350203,
        "area_name": "厦门",
        "spec_count": 1,
        "spec": [
          {
            "spec_id": 1006,
            "spec_name": "1KG",
            "goods_id": 666,
            "spec_unit": 1,
            "spec_value": 1,
            "stock_unit": 1,
            "stock_unit_name": "KG",
            "spec_unit_name": "KG",
            "pack_type": 2,
            "pack_type_name": "纸箱",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "0.07",
            "stock_num": 0,
            "spec_num": 0,
            "sales_num": 0
          }
        ]
      },
      {
        "goods_id": 665,
        "goods_logo": "https://api.nongline.cn/upload/sp/cate/201804/25/image/0efea14db92e2c3a62b3a8d9463bc6e2.jpg",
        "store_id": 20206,
        "goods_name": "台湾金钻凤梨",
        "goods_intro": "",
        "cate_id": 251,
        "status": 1,
        "stock_unit": 2,
        "stock_unit_name": "个",
        "create_time": "个",
        "brand_name": "",
        "grade_name": "",
        "origin_name": "台湾",
        "stock_num": 39441,
        "store_name": "阿花水果",
        "store_logo": "https://api.nongline.cn/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
        "area_id": 350203,
        "area_name": "厦门",
        "spec_count": 2,
        "spec": [
          {
            "spec_id": 1004,
            "spec_name": "1个",
            "goods_id": 665,
            "spec_unit": 2,
            "spec_value": 1,
            "stock_unit": 2,
            "stock_unit_name": "个",
            "spec_unit_name": "个",
            "pack_type": 1,
            "pack_type_name": "礼盒",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "11.11",
            "stock_num": 39441,
            "spec_num": 39441,
            "sales_num": 0
          },
          {
            "spec_id": 1005,
            "spec_name": "1个",
            "goods_id": 665,
            "spec_unit": 2,
            "spec_value": 1,
            "stock_unit": 2,
            "stock_unit_name": "个",
            "spec_unit_name": "个",
            "pack_type": 3,
            "pack_type_name": "盒装",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "57.97",
            "stock_num": 0,
            "spec_num": 0,
            "sales_num": 0
          }
        ]
      },
      {
        "goods_id": 661,
        "goods_logo": "https://api.nongline.cn/upload/sp/cate/201804/25/image/694ebf65543dc32387c81440f2bc9316.jpg",
        "store_id": 20206,
        "goods_name": "本地山楂",
        "goods_intro": "酸甜可口的山楂",
        "cate_id": 24,
        "status": 1,
        "stock_unit": 1,
        "stock_unit_name": "KG",
        "create_time": "KG",
        "brand_name": "",
        "grade_name": "",
        "origin_name": "厦门",
        "stock_num": 1106,
        "store_name": "阿花水果",
        "store_logo": "https://api.nongline.cn/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
        "area_id": 350203,
        "area_name": "厦门",
        "spec_count": 1,
        "spec": [
          {
            "spec_id": 999,
            "spec_name": "1KG",
            "goods_id": 661,
            "spec_unit": 1,
            "spec_value": 1,
            "stock_unit": 1,
            "stock_unit_name": "KG",
            "spec_unit_name": "KG",
            "pack_type": 1,
            "pack_type_name": "礼盒",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "0.00",
            "stock_num": 1106,
            "spec_num": 1106,
            "sales_num": 0
          }
        ]
      },
      {
        "goods_id": 557,
        "goods_logo": "https://api.nongline.cn/upload/sp/cate/201803/15/image/5e8f85f1cd33a989f6e026eaeb616304.jpg",
        "store_id": 20206,
        "goods_name": "翠冠梨",
        "goods_intro": "",
        "cate_id": 49,
        "status": 1,
        "stock_unit": 1,
        "stock_unit_name": "KG",
        "create_time": "KG",
        "brand_name": "",
        "grade_name": "",
        "origin_name": "苏州树山",
        "stock_num": 999,
        "store_name": "阿花水果",
        "store_logo": "https://api.nongline.cn/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
        "area_id": 350203,
        "area_name": "厦门",
        "spec_count": 2,
        "spec": [
          {
            "spec_id": 873,
            "spec_name": "1KG",
            "goods_id": 557,
            "spec_unit": 1,
            "spec_value": 1,
            "stock_unit": 1,
            "stock_unit_name": "KG",
            "spec_unit_name": "KG",
            "pack_type": 1,
            "pack_type_name": "礼盒",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "0.00",
            "stock_num": 999,
            "spec_num": 999,
            "sales_num": 0
          },
          {
            "spec_id": 901,
            "spec_name": "1KG",
            "goods_id": 557,
            "spec_unit": 1,
            "spec_value": 1,
            "stock_unit": 1,
            "stock_unit_name": "KG",
            "spec_unit_name": "KG",
            "pack_type": 1,
            "pack_type_name": "礼盒",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "0.10",
            "stock_num": 0,
            "spec_num": 0,
            "sales_num": 0
          }
        ]
      },
      {
        "goods_id": 548,
        "goods_logo": "https://api.nongline.cn/upload/sp/cate/201803/15/image/5e8f85f1cd33a989f6e026eaeb616304.jpg",
        "store_id": 20206,
        "goods_name": "翠冠梨",
        "goods_intro": "",
        "cate_id": 49,
        "status": 1,
        "stock_unit": 1,
        "stock_unit_name": "KG",
        "create_time": "KG",
        "brand_name": "",
        "grade_name": "",
        "origin_name": "苏州树山",
        "stock_num": 0,
        "store_name": "阿花水果",
        "store_logo": "https://api.nongline.cn/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
        "area_id": 350203,
        "area_name": "厦门",
        "spec_count": 1,
        "spec": [
          {
            "spec_id": 870,
            "spec_name": "1KG",
            "goods_id": 548,
            "spec_unit": 1,
            "spec_value": 1,
            "stock_unit": 1,
            "stock_unit_name": "KG",
            "spec_unit_name": "KG",
            "pack_type": 1,
            "pack_type_name": "礼盒",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "525.88",
            "stock_num": 0,
            "spec_num": 0,
            "sales_num": 0
          }
        ]
      },
      {
        "goods_id": 547,
        "goods_logo": "https://api.nongline.cn/upload/sp/cate/201804/25/image/aa7e36828b49c2db2b89654a9cb71988.jpg",
        "store_id": 20206,
        "goods_name": "苍溪雪梨",
        "goods_intro": "",
        "cate_id": 54,
        "status": 1,
        "stock_unit": 1,
        "stock_unit_name": "KG",
        "create_time": "KG",
        "brand_name": "苍溪雪梨",
        "grade_name": "",
        "origin_name": "四川省苍溪县",
        "stock_num": 0,
        "store_name": "阿花水果",
        "store_logo": "https://api.nongline.cn/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
        "area_id": 350203,
        "area_name": "厦门",
        "spec_count": 1,
        "spec": [
          {
            "spec_id": 869,
            "spec_name": "1KG",
            "goods_id": 547,
            "spec_unit": 1,
            "spec_value": 1,
            "stock_unit": 1,
            "stock_unit_name": "KG",
            "spec_unit_name": "KG",
            "pack_type": 1,
            "pack_type_name": "礼盒",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "0.88",
            "stock_num": 0,
            "spec_num": 0,
            "sales_num": 0
          }
        ]
      },
      {
        "goods_id": 541,
        "goods_logo": "https://api.nongline.cn/upload/sp/cate/201803/15/image/8e4eb78bd79ff4ee1c33753c8b686cee.jpg",
        "store_id": 20206,
        "goods_name": "寻乌蜜桔",
        "goods_intro": "",
        "cate_id": 86,
        "status": 1,
        "stock_unit": 1,
        "stock_unit_name": "KG",
        "create_time": "KG",
        "brand_name": "寻乌蜜桔",
        "grade_name": "",
        "origin_name": "江西寻乌",
        "stock_num": 0,
        "store_name": "阿花水果",
        "store_logo": "https://api.nongline.cn/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
        "area_id": 350203,
        "area_name": "厦门",
        "spec_count": 1,
        "spec": [
          {
            "spec_id": 866,
            "spec_name": "1KG",
            "goods_id": 541,
            "spec_unit": 1,
            "spec_value": 1,
            "stock_unit": 1,
            "stock_unit_name": "KG",
            "spec_unit_name": "KG",
            "pack_type": 1,
            "pack_type_name": "礼盒",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "0.88",
            "stock_num": 0,
            "spec_num": 0,
            "sales_num": 0
          }
        ]
      },
      {
        "goods_id": 491,
        "goods_logo": "https://api.nongline.cn/upload/sp/cate/201803/15/image/fdfb487e2df4f27a10c4790e97950476.jpg",
        "store_id": 20206,
        "goods_name": "青蛇果",
        "goods_intro": "",
        "cate_id": 31,
        "status": 1,
        "stock_unit": 1,
        "stock_unit_name": "KG",
        "create_time": "KG",
        "brand_name": "",
        "grade_name": "",
        "origin_name": "美国加利福尼亚",
        "stock_num": 0,
        "store_name": "阿花水果",
        "store_logo": "https://api.nongline.cn/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
        "area_id": 350203,
        "area_name": "厦门",
        "spec_count": 2,
        "spec": [
          {
            "spec_id": 809,
            "spec_name": "1KG",
            "goods_id": 491,
            "spec_unit": 1,
            "spec_value": 1,
            "stock_unit": 1,
            "stock_unit_name": "KG",
            "spec_unit_name": "KG",
            "pack_type": 1,
            "pack_type_name": "礼盒",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "0.00",
            "stock_num": 0,
            "spec_num": 0,
            "sales_num": 0
          },
          {
            "spec_id": 813,
            "spec_name": "1KG",
            "goods_id": 491,
            "spec_unit": 1,
            "spec_value": 1,
            "stock_unit": 1,
            "stock_unit_name": "KG",
            "spec_unit_name": "KG",
            "pack_type": 1,
            "pack_type_name": "礼盒",
            "min_purchase": 1,
            "max_purchase": 0,
            "description": "",
            "status": 1,
            "status_name": "正常",
            "is_member_seen": 0,
            "spec_price": "153.66",
            "stock_num": 0,
            "spec_num": 0,
            "sales_num": 0
          }
        ]
      }
    ],
    "hasMore": 1
  }
}
JSON;




$json2 =<<<JSON
{
    "result": 1,
    "msg": "请求成功",
    "data": {
        "list": [
            {
                "goods_id": "687",
                "goods_logo": "http://back.wenong.test/upload/sp/cate/201804/25/image/a80d489b5cc84b5cc7da19b517a28696.jpg",
                "store_id": "20206",
                "goods_name": "2222林苹果梨",
                "goods_intro": "",
                "cate_id": "44",
                "status": 1,
                "stock_unit": 1,
                "stock_unit_name": "KG",
                "create_time": "KG",
                "brand_name": "",
                "grade_name": "",
                "origin_name": "吉林延边",
                "stock_num": 1000,
                "store_name": "阿花水果",
                "store_logo": "http://back.wenong.test/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
                "area_id": "350203",
                "area_name": "厦门",
                "spec_count": 1,
                "spec": [
                    {
                        "spec_id": "1097",
                        "spec_name": "1",
                        "goods_id": "687",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 1000,
                        "spec_num": 1000,
                        "sales_num": 0
                    }
                ]
            },
            {
                "goods_id": "673",
                "goods_logo": "http://back.wenong.test/upload/sp/cate/201804/25/image/1602259dc25db61090632f6c8025299d.jpg",
                "store_id": "20206",
                "goods_name": "富平柿饼",
                "goods_intro": "",
                "cate_id": "206",
                "status": 1,
                "stock_unit": 1,
                "stock_unit_name": "KG",
                "create_time": "KG",
                "brand_name": "",
                "grade_name": "",
                "origin_name": "全国各地除了新疆、西藏和宁夏没有种植",
                "stock_num": 67260,
                "store_name": "阿花水果",
                "store_logo": "http://back.wenong.test/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
                "area_id": "350203",
                "area_name": "厦门",
                "spec_count": 3,
                "spec": [
                    {
                        "spec_id": "1042",
                        "spec_name": "1",
                        "goods_id": "673",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 11100,
                        "spec_num": 11100,
                        "sales_num": 0
                    },
                    {
                        "spec_id": "1048",
                        "spec_name": "1",
                        "goods_id": "673",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 11100,
                        "spec_num": 11100,
                        "sales_num": 0
                    },
                    {
                        "spec_id": "1071",
                        "spec_name": "1",
                        "goods_id": "673",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 20010,
                        "spec_num": 20010,
                        "sales_num": 0
                    }
                ]
            },
            {
                "goods_id": "666",
                "goods_logo": "http://back.wenong.test/upload/sp/cate/201804/25/image/635a8d967b45b814e7b6003273996807.jpg",
                "store_id": "20206",
                "goods_name": "绿宝石甜瓜",
                "goods_intro": "",
                "cate_id": "162",
                "status": 1,
                "stock_unit": 1,
                "stock_unit_name": "KG",
                "create_time": "KG",
                "brand_name": "",
                "grade_name": "",
                "origin_name": "山东、黑龙江、河南",
                "stock_num": 0,
                "store_name": "阿花水果",
                "store_logo": "http://back.wenong.test/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
                "area_id": "350203",
                "area_name": "厦门",
                "spec_count": 1,
                "spec": [
                    {
                        "spec_id": "1006",
                        "spec_name": "1",
                        "goods_id": "666",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 2,
                        "pack_type_name": "纸箱",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 0,
                        "spec_num": 0,
                        "sales_num": 0
                    }
                ]
            },
            {
                "goods_id": "665",
                "goods_logo": "http://back.wenong.test/upload/sp/cate/201804/25/image/0efea14db92e2c3a62b3a8d9463bc6e2.jpg",
                "store_id": "20206",
                "goods_name": "台湾金钻凤梨",
                "goods_intro": "",
                "cate_id": "251",
                "status": 1,
                "stock_unit": 2,
                "stock_unit_name": "个",
                "create_time": "个",
                "brand_name": "",
                "grade_name": "",
                "origin_name": "台湾",
                "stock_num": 39441,
                "store_name": "阿花水果",
                "store_logo": "http://back.wenong.test/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
                "area_id": "350203",
                "area_name": "厦门",
                "spec_count": 2,
                "spec": [
                    {
                        "spec_id": "1004",
                        "spec_name": "1",
                        "goods_id": "665",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 39441,
                        "spec_num": 39441,
                        "sales_num": 0
                    },
                    {
                        "spec_id": "1005",
                        "spec_name": "1",
                        "goods_id": "665",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 3,
                        "pack_type_name": "盒装",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 0,
                        "spec_num": 0,
                        "sales_num": 0
                    }
                ]
            },
            {
                "goods_id": "661",
                "goods_logo": "http://back.wenong.test/upload/sp/cate/201804/25/image/694ebf65543dc32387c81440f2bc9316.jpg",
                "store_id": "20206",
                "goods_name": "本地山楂",
                "goods_intro": "酸甜可口的山楂",
                "cate_id": "24",
                "status": 1,
                "stock_unit": 1,
                "stock_unit_name": "KG",
                "create_time": "KG",
                "brand_name": "",
                "grade_name": "",
                "origin_name": "厦门",
                "stock_num": 1113,
                "store_name": "阿花水果",
                "store_logo": "http://back.wenong.test/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
                "area_id": "350203",
                "area_name": "厦门",
                "spec_count": 1,
                "spec": [
                    {
                        "spec_id": "999",
                        "spec_name": "1",
                        "goods_id": "661",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 1113,
                        "spec_num": 1113,
                        "sales_num": 0
                    }
                ]
            },
            {
                "goods_id": "557",
                "goods_logo": "http://back.wenong.test/upload/sp/cate/201803/15/image/5e8f85f1cd33a989f6e026eaeb616304.jpg",
                "store_id": "20206",
                "goods_name": "翠冠梨",
                "goods_intro": "",
                "cate_id": "49",
                "status": 1,
                "stock_unit": 1,
                "stock_unit_name": "KG",
                "create_time": "KG",
                "brand_name": "",
                "grade_name": "",
                "origin_name": "苏州树山",
                "stock_num": 999,
                "store_name": "阿花水果",
                "store_logo": "http://back.wenong.test/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
                "area_id": "350203",
                "area_name": "厦门",
                "spec_count": 2,
                "spec": [
                    {
                        "spec_id": "873",
                        "spec_name": "1",
                        "goods_id": "557",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 999,
                        "spec_num": 999,
                        "sales_num": 0
                    },
                    {
                        "spec_id": "901",
                        "spec_name": "1",
                        "goods_id": "557",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 0,
                        "spec_num": 0,
                        "sales_num": 0
                    }
                ]
            },
            {
                "goods_id": "548",
                "goods_logo": "http://back.wenong.test/upload/sp/cate/201803/15/image/5e8f85f1cd33a989f6e026eaeb616304.jpg",
                "store_id": "20206",
                "goods_name": "翠冠梨",
                "goods_intro": "",
                "cate_id": "49",
                "status": 1,
                "stock_unit": 1,
                "stock_unit_name": "KG",
                "create_time": "KG",
                "brand_name": "",
                "grade_name": "",
                "origin_name": "苏州树山",
                "stock_num": 0,
                "store_name": "阿花水果",
                "store_logo": "http://back.wenong.test/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
                "area_id": "350203",
                "area_name": "厦门",
                "spec_count": 1,
                "spec": [
                    {
                        "spec_id": "870",
                        "spec_name": "1",
                        "goods_id": "548",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 0,
                        "spec_num": 0,
                        "sales_num": 0
                    }
                ]
            },
            {
                "goods_id": "547",
                "goods_logo": "http://back.wenong.test/upload/sp/cate/201804/25/image/aa7e36828b49c2db2b89654a9cb71988.jpg",
                "store_id": "20206",
                "goods_name": "苍溪雪梨",
                "goods_intro": "",
                "cate_id": "54",
                "status": 1,
                "stock_unit": 1,
                "stock_unit_name": "KG",
                "create_time": "KG",
                "brand_name": "苍溪雪梨",
                "grade_name": "",
                "origin_name": "四川省苍溪县",
                "stock_num": 0,
                "store_name": "阿花水果",
                "store_logo": "http://back.wenong.test/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
                "area_id": "350203",
                "area_name": "厦门",
                "spec_count": 1,
                "spec": [
                    {
                        "spec_id": "869",
                        "spec_name": "1",
                        "goods_id": "547",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 0,
                        "spec_num": 0,
                        "sales_num": 0
                    }
                ]
            },
            {
                "goods_id": "541",
                "goods_logo": "http://back.wenong.test/upload/sp/cate/201803/15/image/8e4eb78bd79ff4ee1c33753c8b686cee.jpg",
                "store_id": "20206",
                "goods_name": "寻乌蜜桔",
                "goods_intro": "",
                "cate_id": "86",
                "status": 1,
                "stock_unit": 1,
                "stock_unit_name": "KG",
                "create_time": "KG",
                "brand_name": "寻乌蜜桔",
                "grade_name": "",
                "origin_name": "江西寻乌",
                "stock_num": 0,
                "store_name": "阿花水果",
                "store_logo": "http://back.wenong.test/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
                "area_id": "350203",
                "area_name": "厦门",
                "spec_count": 1,
                "spec": [
                    {
                        "spec_id": "866",
                        "spec_name": "1",
                        "goods_id": "541",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 0,
                        "spec_num": 0,
                        "sales_num": 0
                    }
                ]
            },
            {
                "goods_id": "491",
                "goods_logo": "http://back.wenong.test/upload/sp/cate/201803/15/image/fdfb487e2df4f27a10c4790e97950476.jpg",
                "store_id": "20206",
                "goods_name": "青蛇果",
                "goods_intro": "",
                "cate_id": "31",
                "status": 1,
                "stock_unit": 1,
                "stock_unit_name": "KG",
                "create_time": "KG",
                "brand_name": "",
                "grade_name": "",
                "origin_name": "美国加利福尼亚",
                "stock_num": 0,
                "store_name": "阿花水果",
                "store_logo": "http://back.wenong.test/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
                "area_id": "350203",
                "area_name": "厦门",
                "spec_count": 2,
                "spec": [
                    {
                        "spec_id": "809",
                        "spec_name": "1",
                        "goods_id": "491",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 0,
                        "spec_num": 0,
                        "sales_num": 0
                    },
                    {
                        "spec_id": "813",
                        "spec_name": "1",
                        "goods_id": "491",
                        "spec_unit": 0,
                        "spec_value": 1,
                        "stock_unit": 0,
                        "stock_unit_name": "",
                        "spec_unit_name": "",
                        "pack_type": 1,
                        "pack_type_name": "礼盒",
                        "min_purchase": 1,
                        "max_purchase": 0,
                        "description": "",
                        "status": 1,
                        "status_name": "正常",
                        "is_member_seen": 0,
                        "spec_price": "0.00",
                        "stock_num": 0,
                        "spec_num": 0,
                        "sales_num": 0
                    }
                ]
            }
        ],
        "hasMore": 1
    }
}
JSON;








$json3 =<<<JSON
{
	"result": 1,
	"msg": "请求成功",
	"data": {
		"list": [{
			"goods_id": 373,
			"goods_logo": "https://api.nongline.cn/upload/sp/cate/201803/15/image/fdfb487e2df4f27a10c4790e97950476.jpg",
			"store_id": 20206,
			"goods_name": "青蛇果",
			"goods_intro": "",
			"cate_id": 31,
			"status": 1,
			"stock_unit": 1,
			"stock_unit_name": "KG",
			"create_time": "KG",
			"brand_name": "",
			"grade_name": "",
			"origin_name": "美国加利福尼亚",
			"stock_num": 0,
			"store_name": "阿花水果",
			"store_logo": "https://api.nongline.cn/upload/store/201808/20/store_logo/11d63d08e132071da28ca9ed018760f5.jpg",
			"area_id": 350203,
			"area_name": "厦门",
			"spec_count": 6,
			"spec": [{
				"spec_id": 636,
				"spec_name": "0.123KG/个",
				"goods_id": 373,
				"spec_unit": 2,
				"spec_value": 0.123,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "个",
				"pack_type": 6,
				"pack_type_name": "袋装",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.00",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}, {
				"spec_id": 615,
				"spec_name": "1KG",
				"goods_id": 373,
				"spec_unit": 1,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "KG",
				"pack_type": 8,
				"pack_type_name": "泡沫箱",
				"min_purchase": 5,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.01",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}, {
				"spec_id": 596,
				"spec_name": "1KG",
				"goods_id": 373,
				"spec_unit": 1,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "KG",
				"pack_type": 1,
				"pack_type_name": "礼盒",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.22",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}, {
				"spec_id": 598,
				"spec_name": "1KG",
				"goods_id": 373,
				"spec_unit": 1,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "KG",
				"pack_type": 2,
				"pack_type_name": "纸箱",
				"min_purchase": 3,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.33",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}, {
				"spec_id": 599,
				"spec_name": "1KG",
				"goods_id": 373,
				"spec_unit": 1,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "KG",
				"pack_type": 3,
				"pack_type_name": "盒装",
				"min_purchase": 4,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.44",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}, {
				"spec_id": 637,
				"spec_name": "12.45KG/盒",
				"goods_id": 373,
				"spec_unit": 3,
				"spec_value": 12.45,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "盒",
				"pack_type": 3,
				"pack_type_name": "盒装",
				"min_purchase": 2,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "2.00",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}]
		}, {
			"goods_id": 56,
			"goods_logo": "https://api.nongline.cn/upload/sp/cate/201804/25/image/51cc0ddcb614a06604b801d31a098d33.jpg",
			"store_id": 20059,
			"goods_name": "先锋樱桃",
			"goods_intro": "",
			"cate_id": 126,
			"status": 1,
			"stock_unit": 1,
			"stock_unit_name": "KG",
			"create_time": "KG",
			"brand_name": "其他",
			"grade_name": "28mm-30mm",
			"origin_name": "山东烟台",
			"stock_num": 0,
			"store_name": "晨曦果蔬",
			"store_logo": "https://api.nongline.cn/upload/store/201804/25/store_logo/8b6c4a34f81701d1d3f36ca6f695b16b.jpg",
			"area_id": 350206,
			"area_name": "厦门",
			"spec_count": 1,
			"spec": [{
				"spec_id": 84,
				"spec_name": "20KG/件",
				"goods_id": 56,
				"spec_unit": 5,
				"spec_value": 20,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "件",
				"pack_type": 2,
				"pack_type_name": "纸箱",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "5.00",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}]
		}, {
			"goods_id": 55,
			"goods_logo": "https://api.nongline.cn/upload/sp/cate/201711/02/image/4d9cf1be3a32fc0980de3779a87dce9a.jpg",
			"store_id": 20059,
			"goods_name": "新疆阿克苏苹果",
			"goods_intro": "带糖心的苹果",
			"cate_id": 21,
			"status": 1,
			"stock_unit": 1,
			"stock_unit_name": "KG",
			"create_time": "KG",
			"brand_name": "洛川苹果",
			"grade_name": "65#",
			"origin_name": "新疆",
			"stock_num": 0,
			"store_name": "晨曦果蔬",
			"store_logo": "https://api.nongline.cn/upload/store/201804/25/store_logo/8b6c4a34f81701d1d3f36ca6f695b16b.jpg",
			"area_id": 350206,
			"area_name": "厦门",
			"spec_count": 3,
			"spec": [{
				"spec_id": 83,
				"spec_name": "1KG",
				"goods_id": 55,
				"spec_unit": 1,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "KG",
				"pack_type": 2,
				"pack_type_name": "纸箱",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.10",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}, {
				"spec_id": 82,
				"spec_name": "5.5KG/箱",
				"goods_id": 55,
				"spec_unit": 4,
				"spec_value": 5.5,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "箱",
				"pack_type": 2,
				"pack_type_name": "纸箱",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.81",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}, {
				"spec_id": 81,
				"spec_name": "20KG/箱",
				"goods_id": 55,
				"spec_unit": 4,
				"spec_value": 20,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "箱",
				"pack_type": 2,
				"pack_type_name": "纸箱",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "2.00",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}]
		}, {
			"goods_id": 335,
			"goods_logo": "https://api.nongline.cn/upload/sp/cate/201803/15/image/2557578a184e2ca573debb1d09ded0d1.jpg",
			"store_id": 20054,
			"goods_name": "椪柑",
			"goods_intro": "",
			"cate_id": 80,
			"status": 1,
			"stock_unit": 1,
			"stock_unit_name": "KG",
			"create_time": "KG",
			"brand_name": "广西椪柑",
			"grade_name": "65#-80#",
			"origin_name": "浙江",
			"stock_num": 0,
			"store_name": "大v哥水果行吕厝分店",
			"store_logo": "https://api.nongline.cn/upload/store/201804/25/store_logo/55ee6afb5d6725ad15518e0a7b42ce9b.jpg",
			"area_id": 350203,
			"area_name": "厦门",
			"spec_count": 2,
			"spec": [{
				"spec_id": 505,
				"spec_name": "1KG/盒",
				"goods_id": 335,
				"spec_unit": 3,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "盒",
				"pack_type": 3,
				"pack_type_name": "盒装",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.01",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}, {
				"spec_id": 506,
				"spec_name": "1KG",
				"goods_id": 335,
				"spec_unit": 1,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "KG",
				"pack_type": 3,
				"pack_type_name": "盒装",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.01",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}]
		}, {
			"goods_id": 333,
			"goods_logo": "https://api.nongline.cn/upload/sp/cate/201804/25/image/7ad06a56331fba79007d5e1eaaf422fb.jpg",
			"store_id": 20054,
			"goods_name": "泰国金枕榴莲",
			"goods_intro": "",
			"cate_id": 294,
			"status": 1,
			"stock_unit": 1,
			"stock_unit_name": "KG",
			"create_time": "KG",
			"brand_name": "金枕头榴莲",
			"grade_name": "",
			"origin_name": "泰国",
			"stock_num": 0,
			"store_name": "大v哥水果行吕厝分店",
			"store_logo": "https://api.nongline.cn/upload/store/201804/25/store_logo/55ee6afb5d6725ad15518e0a7b42ce9b.jpg",
			"area_id": 350203,
			"area_name": "厦门",
			"spec_count": 3,
			"spec": [{
				"spec_id": 497,
				"spec_name": "1KG",
				"goods_id": 333,
				"spec_unit": 1,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "KG",
				"pack_type": 1,
				"pack_type_name": "礼盒",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.01",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}, {
				"spec_id": 498,
				"spec_name": "2KG/个",
				"goods_id": 333,
				"spec_unit": 2,
				"spec_value": 2,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "个",
				"pack_type": 1,
				"pack_type_name": "礼盒",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.01",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}, {
				"spec_id": 499,
				"spec_name": "1KG/袋",
				"goods_id": 333,
				"spec_unit": 6,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "袋",
				"pack_type": 1,
				"pack_type_name": "礼盒",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.01",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}]
		}, {
			"goods_id": 332,
			"goods_logo": "https://api.nongline.cn/upload/sp/cate/201804/25/image/a3482d42a04873e95ef4595f0bd3acb0.jpg",
			"store_id": 20054,
			"goods_name": "绿心猕猴桃",
			"goods_intro": "",
			"cate_id": 167,
			"status": 1,
			"stock_unit": 1,
			"stock_unit_name": "KG",
			"create_time": "KG",
			"brand_name": "蒲江猕猴桃",
			"grade_name": "大果",
			"origin_name": "四川",
			"stock_num": 0,
			"store_name": "大v哥水果行吕厝分店",
			"store_logo": "https://api.nongline.cn/upload/store/201804/25/store_logo/55ee6afb5d6725ad15518e0a7b42ce9b.jpg",
			"area_id": 350203,
			"area_name": "厦门",
			"spec_count": 2,
			"spec": [{
				"spec_id": 496,
				"spec_name": "1KG/盒",
				"goods_id": 332,
				"spec_unit": 3,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "盒",
				"pack_type": 1,
				"pack_type_name": "礼盒",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.01",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}, {
				"spec_id": 495,
				"spec_name": "1KG",
				"goods_id": 332,
				"spec_unit": 1,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "KG",
				"pack_type": 1,
				"pack_type_name": "礼盒",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.02",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}]
		}, {
			"goods_id": 331,
			"goods_logo": "https://api.nongline.cn/upload/sp/cate/201804/25/image/a6ce1495751414df8361ca1e850f7ba4.jpg",
			"store_id": 20054,
			"goods_name": "徐文香水菠萝",
			"goods_intro": "",
			"cate_id": 254,
			"status": 1,
			"stock_unit": 1,
			"stock_unit_name": "KG",
			"create_time": "KG",
			"brand_name": "其他",
			"grade_name": "大果",
			"origin_name": "广东徐闻",
			"stock_num": 0,
			"store_name": "大v哥水果行吕厝分店",
			"store_logo": "https://api.nongline.cn/upload/store/201804/25/store_logo/55ee6afb5d6725ad15518e0a7b42ce9b.jpg",
			"area_id": 350203,
			"area_name": "厦门",
			"spec_count": 2,
			"spec": [{
				"spec_id": 502,
				"spec_name": "1KG/个",
				"goods_id": 331,
				"spec_unit": 2,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "个",
				"pack_type": 1,
				"pack_type_name": "礼盒",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.01",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}, {
				"spec_id": 503,
				"spec_name": "25KG/盒",
				"goods_id": 331,
				"spec_unit": 3,
				"spec_value": 25,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "盒",
				"pack_type": 3,
				"pack_type_name": "盒装",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.01",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}]
		}, {
			"goods_id": 286,
			"goods_logo": "https://api.nongline.cn/upload/sp/cate/201804/25/image/694ebf65543dc32387c81440f2bc9316.jpg",
			"store_id": 20054,
			"goods_name": "阿据统计",
			"goods_intro": "酸甜可口的山楂",
			"cate_id": 24,
			"status": 1,
			"stock_unit": 1,
			"stock_unit_name": "KG",
			"create_time": "KG",
			"brand_name": "大荔嘎啦果",
			"grade_name": "A级",
			"origin_name": "厦门",
			"stock_num": 0,
			"store_name": "大v哥水果行吕厝分店",
			"store_logo": "https://api.nongline.cn/upload/store/201804/25/store_logo/55ee6afb5d6725ad15518e0a7b42ce9b.jpg",
			"area_id": 350203,
			"area_name": "厦门",
			"spec_count": 1,
			"spec": [{
				"spec_id": 421,
				"spec_name": "1KG/个",
				"goods_id": 286,
				"spec_unit": 2,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "个",
				"pack_type": 2,
				"pack_type_name": "纸箱",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.01",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}]
		}, {
			"goods_id": 279,
			"goods_logo": "https://api.nongline.cn/upload/sp/cate/201804/25/image/694ebf65543dc32387c81440f2bc9316.jpg",
			"store_id": 20054,
			"goods_name": "好吃的山楂",
			"goods_intro": "酸甜可口的山楂",
			"cate_id": 24,
			"status": 1,
			"stock_unit": 1,
			"stock_unit_name": "KG",
			"create_time": "KG",
			"brand_name": "大荔嘎啦果",
			"grade_name": "A级",
			"origin_name": "厦门",
			"stock_num": 0,
			"store_name": "大v哥水果行吕厝分店",
			"store_logo": "https://api.nongline.cn/upload/store/201804/25/store_logo/55ee6afb5d6725ad15518e0a7b42ce9b.jpg",
			"area_id": 350203,
			"area_name": "厦门",
			"spec_count": 1,
			"spec": [{
				"spec_id": 396,
				"spec_name": "1KG",
				"goods_id": 279,
				"spec_unit": 1,
				"spec_value": 1,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "KG",
				"pack_type": 1,
				"pack_type_name": "礼盒",
				"min_purchase": 1,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "0.55",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}]
		}, {
			"goods_id": 254,
			"goods_logo": "https://api.nongline.cn/upload/sp/cate/201711/02/image/4d9cf1be3a32fc0980de3779a87dce9a.jpg",
			"store_id": 20054,
			"goods_name": "新疆阿克苏苹果",
			"goods_intro": "带糖心的苹果",
			"cate_id": 21,
			"status": 1,
			"stock_unit": 1,
			"stock_unit_name": "KG",
			"create_time": "KG",
			"brand_name": "洛川苹果",
			"grade_name": "大果",
			"origin_name": "新疆",
			"stock_num": 0,
			"store_name": "大v哥水果行吕厝分店",
			"store_logo": "https://api.nongline.cn/upload/store/201804/25/store_logo/55ee6afb5d6725ad15518e0a7b42ce9b.jpg",
			"area_id": 350203,
			"area_name": "厦门",
			"spec_count": 1,
			"spec": [{
				"spec_id": 366,
				"spec_name": "60KG/袋",
				"goods_id": 254,
				"spec_unit": 6,
				"spec_value": 60,
				"stock_unit": 1,
				"stock_unit_name": "KG",
				"spec_unit_name": "袋",
				"pack_type": 6,
				"pack_type_name": "袋装",
				"min_purchase": 16,
				"max_purchase": 0,
				"description": "",
				"status": 1,
				"status_name": "正常",
				"is_member_seen": 0,
				"spec_price": "1.20",
				"stock_num": 0,
				"spec_num": 0,
				"sales_num": 0
			}]
		}],
		"hasMore": 1
	}
}
JSON;



$json = json_decode($json,true);
print_r(count($json['data']['list']));
